home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 013 / xdir54.arc / XDIR54.LST < prev   
Encoding:
File List  |  1986-10-26  |  46.5 KB  |  2,106 lines

  1. A CB
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. GEXDIRHF
  20. GEExtended Diskette Directory ProgramHF
  21. GEVersion 5.4HF
  22.  
  23.  
  24.  
  25.  
  26. March 4,1984
  27.  
  28.  
  29. Barry N. Shiffrin
  30.  
  31. Dept. F58/5M00
  32. IBM Endicott, NY  13760
  33. VNET GDLPD(SHIFFRIN)
  34.  
  35. Home address:
  36. 2309 Acorn Dr.
  37. Vestal, NY  13850
  38.  
  39.  
  40.  
  41.  
  42.                 XDIR VERSION 5.4 Page     ii
  43.  
  44.  
  45. GE-ABSTRACTHF-
  46.  
  47.  
  48.  
  49. This manual describes the operation of the XDIR program
  50. which will aid you in keeping track of the programs which
  51. are on your diskettes.
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102. ABSTRACT                                                  ii
  103.  
  104.  
  105.  
  106.                 XDIR VERSION 5.4 Page    iii
  107.  
  108.  
  109. GE-PREFACEHF-
  110.  
  111.  
  112.  
  113. Have you ever lost track of which diskette contained a
  114. particular file?  Do you spend a lot of time searching for
  115. files and also for a diskette with enough room to store a
  116. particular new program?  If these problems are affecting
  117. you, then this program should make your work much easier.
  118.  
  119. XDIR will read the directory information directly from your
  120. diskettes and keep these entries in a separate file listed
  121. under an ID which you assign to your diskette.  Ideally this
  122. ID will be written on the label of the diskette itself.  In
  123. the future, as the contents of your diskettes change you may
  124. delete or add their file contents to the master file from
  125. XDIR.
  126.  
  127. XDIR also allows you to enter a comment field for each file
  128. to allow you to keep track of anything you wish about each
  129. file.
  130.  
  131. This information is entered through an editor included as
  132. one of the menu options.
  133.  
  134. You may wish to maintain separate files of certain groups of
  135. your diskettes.  For example, you may wish to have separate
  136. files for your financial programs, your game programs, and
  137. your word processing programs and files.
  138.  
  139. XDIR allows you to select a subset of the master file and
  140. either display it on the screen or print it out.  This would
  141. allow you to have a separate printout for your basic
  142. programs, your OBJ files, and perhaps your EXE files.  The
  143. program allows great flexibility in this regard.
  144.  
  145. It is also important to be able to find a diskette with
  146. enough room to be able to store a new program you may have
  147. written.  XDIR calculates the amount of free space left on a
  148. diskette and will give you a printout of all your diskettes
  149. and the amount of space left on each.
  150.  
  151. Fixed disks are also supported and the comment field is used
  152. to show the complete path name to the file.
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166. PREFACE                                                  iii
  167.  
  168.  
  169.  
  170.                 XDIR VERSION 5.4 Page     iv
  171.  
  172.  
  173. GETable Of Contents
  174.  
  175.  
  176. HFG  HARDWARE REQUIREMENTS................................... 1
  177.  
  178. HG  CHANGES FOR VERSION 5.4................................. 2
  179.  
  180. HG  CHANGES FOR VERSION 5.3................................. 3
  181.  
  182. HG  CHANGES FOR VERSION 5.2................................. 4
  183.  
  184. HG  CHANGES FOR VERSION 5.1................................. 5
  185.  
  186. HG  CHANGES FOR VERSION 5.0................................. 6
  187.  
  188. HG  GENERAL INFORMATION..................................... 7
  189.  
  190. HG  HOW TO USE THE PROGRAM.................................. 8
  191. H    GETTING STARTED....................................... 8
  192.  
  193. G  HOW TO OPERATE - MAIN MENU.............................. 9
  194. H    1. CREATE FILE........................................ 9
  195.     2. READ IN FILE FROM DISKETTE......................... 9
  196.     3. WRITE FILE TO DISK................................ 10
  197.     4. CHANGE MASTER FILE NAME........................... 10
  198.     5. DELETE DISKID FROM FILE........................... 10
  199.     6. EDIT COMMENT FIELDS............................... 10
  200.     7. REPLACE/ADD DISKETTE.............................. 11
  201.     8. SORT OPTIONS...................................... 11
  202.     9. DISPLAY OPTIONS................................... 11
  203.     A. MISCELLANEOUS OPTIONS............................. 11
  204.     D. EXECUTE DOS COMMANDS.............................. 12
  205.     H. PROCESS FIXED DISK FILE........................... 12
  206.     ESC.................................................. 13
  207.  
  208. G  HOW TO OPERATE - SORT MENU............................. 14
  209. H    1. SORT BY FILENAME,SIZE,DATE,ID..................... 14
  210.     2. SORT BY FILE EXTENSION,FILE NAME,SIZE,DATE,ID..... 14
  211.     3. SORT BY DISKID THEN FILENAME...................... 14
  212.     4. SORT BY LAST DATE MODIFIED........................ 14
  213.     5. SORT ON COMMENT FIELD............................. 14
  214.     6. SORT DISKETTE SPACE SUMMARY....................... 15
  215.     9. DISPLAY OPTIONS................................... 15
  216.     A. MISCELLANEOUS OPTIONS............................. 15
  217.     ESC.................................................. 15
  218.  
  219. G  HOW TO OPERATE - DISPLAY MENU.......................... 16
  220. H    1. DISPLAY RECORDS................................... 16
  221.     2. PRINT RECORDS..................................... 16
  222.     3. DISPLAY DISKETTE SPACE SUMMARY.................... 16
  223.     4. PRINT DISKETTE SPACE SUMMARY...................... 16
  224.     5. PRINT DISKETTE INSERTS............................ 17
  225.  
  226.  
  227.  
  228.  
  229.  
  230. Table Of Contents                                         iv
  231.  
  232.  
  233.  
  234.                 XDIR VERSION 5.4 Page      v
  235.  
  236.  
  237. GETable Of Contents
  238.  
  239. HF    6. CHANGE LINES PER PAGE............................. 17
  240.     7. PRINT DISKETTE LABELS............................. 17
  241.     0. CHANGE LABEL SPACING.............................. 18
  242.     8. SORT OPTIONS...................................... 18
  243.     A. MISCELLANEOUS OPTIONS............................. 18
  244.     C. WRITE CONTENTS FILE............................... 18
  245.     ESC.................................................. 18
  246.  
  247. G  HOW TO OPERATE - MISCELLANEOUS OPTIONS MENU............ 19
  248. H    1. DISPLAY MASTER FILES ON DEFAULT DISKETTE.......... 19
  249.     2. LABEL A DISKETTE.................................. 19
  250.     3. CHECK LABEL WITH RENAME OPTION.................... 19
  251.     4. CHANGE CATALOGING DRIVE........................... 19
  252.  
  253. G  HOW TO OPERATE - CREATE MENU........................... 20
  254. H    F1. REDRAW SCREEN.................................... 20
  255.     F2. TOGGLE DISKID LABELLING MODE..................... 20
  256.     ESC.................................................. 20
  257.  
  258. G  REFERENCE MATERIAL..................................... 22
  259. H    SPECIFYING SUBSET WHEN READING FROM FILE............. 22
  260.     EXPLANATION OF EDITOR COMMANDS....................... 22
  261.       (up arrow)......................................... 23
  262.       (down arrow)....................................... 23
  263.       (right arrow)...................................... 23
  264.       (left arrow)....................................... 23
  265.       (TAB Key).......................................... 23
  266.       (S-TAB)............................................ 24
  267.       PgUp............................................... 24
  268.       PgDn............................................... 24
  269.       ENTER.............................................. 24
  270.       Alt-C.............................................. 24
  271.       Esc................................................ 25
  272.       C-PgUp............................................. 25
  273.       C-PgDn............................................. 25
  274.       BKSPC.............................................. 25
  275.       Del................................................ 25
  276.       Ins................................................ 26
  277.       Alt-S.............................................. 26
  278.       Home............................................... 26
  279.       End................................................ 26
  280.       Alt-T.............................................. 26
  281.       Alt-X.............................................. 27
  282.     USING PC-FILE WITH XDIR DATA FILES................... 27
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294. Table Of Contents                                          v
  295.  
  296.  
  297.  
  298.                 XDIR VERSION 5.4 Page     vi
  299.  
  300.  
  301. GE-HARDWARE REQUIREMENTSHF-
  302.  
  303.  
  304.  
  305. L 0xxⁿⁿⁿⁿxx0   At least 96KB of memory.  A G96KB Hmachine will be able to
  306.     read in about 410 records while a G128KB Hmachine can
  307.     handle about 800.
  308.  
  309. L 0xxⁿⁿⁿⁿxx0   2 diskette drives - either electronic or floppy.  Please
  310.     do not try this program with only 1 drive as data may be
  311.     lost on your diskettes.
  312.  
  313. L 0xxⁿⁿⁿⁿxx0   80 column display (may be attached to either display
  314.     adapter)
  315.  
  316. L 0xxⁿⁿⁿⁿxx0   The IBM 80cps printer (or equivalent) will enhance the
  317.     operation.  The label creating option will only work on
  318.     the IBM graphics printer or an Epson printer with
  319.     Graftrax+.
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358. HARDWARE REQUIREMENTS                                      1
  359.  
  360.  
  361.  
  362.                 XDIR VERSION 5.4 Page      2
  363.  
  364.  
  365. GE-CHANGES FOR VERSION 5.4HF-
  366.  
  367.  
  368.  
  369. L 0xxⁿⁿⁿⁿxx0   The logo now displays at invocation on the main panel
  370.     and disappears after the first keystroke.
  371.  
  372. L 0xxⁿⁿⁿⁿxx0   In an earlier version, I began including hidden files.
  373.     This was working only for the create option.  The
  374.     add/replace option was throwing them away.  This has now
  375.     been fixed.
  376.  
  377. L 0xxⁿⁿⁿⁿxx0   The diskid is now included in the data file.  If this
  378.     had been a DOS 2.0 label it had been ignored as far as
  379.     being a file on the disk.  It now shouldn't matter if it
  380.     is a DOS 2.0 label or just a fname.LBL file, it will
  381.     still show up in the data file.
  382.  
  383. L 0xxⁿⁿⁿⁿxx0   I wasn't blanking out the diskid field when displaying a
  384.     new one in the create option.  This showed up as garbage
  385.     when displaying a label which is shorter than the
  386.     previous one.
  387.  
  388. L 0xxⁿⁿⁿⁿxx0   I was resetting the graphics color burst a long time ago
  389.     but it didn't accomplish the desired effect.  I have
  390.     removed that code with this release.
  391.  
  392. L 0xxⁿⁿⁿⁿxx0   I added a new option to the editing menu.  It will allow
  393.     you to delete a record from your file when writing out
  394.     the file the next time.  This is implemented as a toggle
  395.     to allow changing your mind before actually doing the
  396.     write.
  397.  
  398. L 0xxⁿⁿⁿⁿxx0   I think I have fixed all the bugs that caused the "space
  399.     available" to be printed incorrectly on inserts and
  400.     labels.  If you have any problems in this area, please
  401.     let me know.
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422. CHANGES FOR VERSION 5.4                                    2
  423.  
  424.  
  425.  
  426.                 XDIR VERSION 5.4 Page      3
  427.  
  428.  
  429. GE-CHANGES FOR VERSION 5.3HF-
  430.  
  431.  
  432.  
  433. L 0xxⁿⁿⁿⁿxx0   If you left off the /V option when running CHKDSK, the
  434.     file for the fixed disk wouldn't have the right
  435.     information in it and the program would hang.  I now
  436.     detect that situation and give an appropriate message.
  437.  
  438. L 0xxⁿⁿⁿⁿxx0   I found the bug which affected some people who had been
  439.     using XDIR on their fixed disks in a manual fashion.  If
  440.     a file was larger than 999,999 bytes, the XDIR data file
  441.     would be written incorrectly causing unpredicatble
  442.     behavior later on.  I now detect if your files are
  443.     larger than this limit and set the size in the XDIR data
  444.     file to 999,999.
  445.  
  446. L 0xxⁿⁿⁿⁿxx0   For the fixed disk file processing, I put the path into
  447.     the comment field.  In certain cases where you had a
  448.     file name with the same name as the subdirectory, the
  449.     path name shown in the comment field was truncated.
  450.     This is now fixed.
  451.  
  452. L 0xxⁿⁿⁿⁿxx0   An easier description of how to use CHKDSK to create the
  453.     file for the fixed disk processing.
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486. CHANGES FOR VERSION 5.3                                    3
  487.  
  488.  
  489.  
  490.                 XDIR VERSION 5.4 Page      4
  491.  
  492.  
  493. GE-CHANGES FOR VERSION 5.2HF-
  494.  
  495.  
  496.  
  497. L 0xxⁿⁿⁿⁿxx0   When printing diskette inserts I wasn't resetting the
  498.     printer to its normal state when finished.  If you had
  499.     used the Esc key to exit, I did reset it.  It is now
  500.     reset in both cases.
  501.  
  502. L 0xxⁿⁿⁿⁿxx0   Hidden Files are now included in the diskette
  503.     cataloging.
  504.  
  505. L 0xxⁿⁿⁿⁿxx0   I have added fixed disk support through an option on the
  506.     main menu.  See the details under that option for more
  507.     information.
  508.  
  509. L 0xxⁿⁿⁿⁿxx0   My old versions of XDIR (pre DOS 2.0) actually created a
  510.     label on the diskette with the volume ID as the filename
  511.     and LBL as the extension.  My intention in the DOS 2.0
  512.     versions of XDIR was to create the same kind of label so
  513.     that if you label a disk and then use it under DOS 1.1
  514.     the label would show up the way it used to.  I had an
  515.     error in the label rename option, but now it will change
  516.     the extension of the label file to LBL the way it was
  517.     intended.
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550. CHANGES FOR VERSION 5.2                                    4
  551.  
  552.  
  553.  
  554.                 XDIR VERSION 5.4 Page      5
  555.  
  556.  
  557. GE-CHANGES FOR VERSION 5.1HF-
  558.  
  559.  
  560.  
  561. L 0xxⁿⁿⁿⁿxx0   Fixed bug that caused selection of a subset to be done
  562.     incorrectly.  The first character of the file extension
  563.     was never checked causing an *.BAS selection to also
  564.     read in *.PAS, etc.
  565.  
  566. L 0xxⁿⁿⁿⁿxx0   Added the DOS command option which allows DOS commands
  567.     to be executed under XDIR.  I would like to thank Tony
  568.     Drumm for providing the code for this.  You must have
  569.     enough memory to run this and your DOS 2.0 COMMAND.COM
  570.     must have a patch applied which has been provided by
  571.     Boca and is included as Figure  1  on page 12.  Please
  572.     note that this patch is not needed with DOS 2.1.
  573.  
  574. L 0xxⁿⁿⁿⁿxx0   Added a subroutine in ASSEMBLER to replace a chunk of my
  575.     code which saved about 2700 bytes of EXE file.
  576.  
  577. L 0xxⁿⁿⁿⁿxx0   fixed the bug which caused REPLACE with diskids less
  578.     than 8 characters to always be treated as an ADD.
  579.  
  580. L 0xxⁿⁿⁿⁿxx0   I have added documentation on how to use PC-FILE with
  581.     XDIR data files.  This information is included in "USING
  582.     PC-FILE WITH XDIR DATA FILES" on page 27.
  583.  
  584. L 0xxⁿⁿⁿⁿxx0   Fixed a bug that occurred when trying to use the "leave
  585.     drive door open and enter dummy label" feature.  This
  586.     should now work correctly.
  587.  
  588. L 0xxⁿⁿⁿⁿxx0   Fixed a bug that caused the "space available" on the
  589.     printout of files to be incorrectly displayed when your
  590.     diskid was less than 8 characters.
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614. CHANGES FOR VERSION 5.1                                    5
  615.  
  616.  
  617.  
  618.                 XDIR VERSION 5.4 Page      6
  619.  
  620.  
  621. GE-CHANGES FOR VERSION 5.0HF-
  622.  
  623.  
  624.  
  625. L 0xxⁿⁿⁿⁿxx0   First, let me say that this version is for GDOS 2.0 -only
  626. -    H.  The program will check the DOS version you are
  627.     running with and exit if it is not at least 2.0.
  628.     Version 4.7 of XDIR is the last version of XDIR that
  629.     will work with DOS 1.1.
  630.  
  631. L 0xxⁿⁿⁿⁿxx0   This version will use the DOS 2.0 volume labels.  In the
  632.     create mode, the program will first check for the volume
  633.     label, if none is found it will then look for a file
  634.     with an extension of LBL.  When disks are labeled, the
  635.     program will now create volume labels.  This means that
  636.     you can use XDIR to add volume labels to disks which
  637.     will then be read by other DOS programs like CHKDSK or
  638.     DIR.  My program will also rename the volume label which
  639.     is something you cannot do under DOS 2.0.
  640.  
  641. L 0xxⁿⁿⁿⁿxx0   A little more space is available for the internal array
  642.     of records.  This was due to using some of the newer
  643.     built-in DOS 2.0 functions.  When the optimizing version
  644.     of C86 is released (if ever) more space should be
  645.     available.  Stay tuned for a future version.
  646.  
  647. L 0xxⁿⁿⁿⁿxx0   Due to a bug in DOS 2.0, I cannot delete the volume
  648.     label.  The option on the miscellaneous screen has been
  649.     changed to "check label/rename option."
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678. CHANGES FOR VERSION 5.0                                    6
  679.  
  680.  
  681.  
  682.                 XDIR VERSION 5.4 Page      7
  683.  
  684.  
  685. GE-GENERAL INFORMATIONHF-
  686.  
  687.  
  688.  
  689. After loading the program you will see a menu.  All
  690. operations are performed by selecting options from this
  691. menu.  You only have to type the number of the option you
  692. wish to invoke.  In this program you will not have to press
  693. the enter key for any single character responses.  The
  694. details of the menu operations will be covered in the next
  695. section.
  696.  
  697. The program uses 2 files to store the data you are using.
  698. One of these files is the data file which contains the list
  699. of directory entries read from your disks and the other file
  700. is the space file which contains the amount of space left on
  701. each of the disks which you entered.  The program will
  702. automatically check how much memory you have installed and
  703. adapt itself accordingly.
  704.  
  705. When you invoke the program you should specify the filename
  706. you wish to use.  This filename is the first part of the
  707. name used by the program.  For example, if you had entered
  708. GXDIR XYZ Hto invoke the program, then the 2 files the program
  709. will be using will be GXYZ.DAT Hand GXYZ.SP H.  This filename
  710. can be changed with one of the menu options.
  711.  
  712. The program will detect if you are using double-sided
  713. diskettes and read in the extended directory and calculate
  714. the space remaining automatically.
  715.  
  716. As another user-friendly feature the menus will indicate how
  717. the data in storage has been sorted.  It will also tell how
  718. many records are currently in storage and the name of the
  719. master file you are using.
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742. GENERAL INFORMATION                                        7
  743.  
  744.  
  745.  
  746.                 XDIR VERSION 5.4 Page      8
  747.  
  748.  
  749. GE-HOW TO USE THE PROGRAMHF-
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756. GEGETTING STARTEDHF
  757.  
  758.  
  759. Make sure your A drive is the default drive by entering A:
  760. as a command to DOS.  Then insert the program diskette into
  761. the A drive and enter the command GXDIR fname Hwhere fname is
  762. the filename you wish to use as explained earlier.  If you
  763. forget to enter the fname parameter, the program will prompt
  764. you for one.  After the program is loaded, the main menu
  765. will be displayed along with the version number, etc.  This
  766. "logo" will disappear after the first keystroke.
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806. HOW TO USE THE PROGRAM                                     8
  807.  
  808.  
  809.  
  810.                 XDIR VERSION 5.4 Page      9
  811.  
  812.  
  813. GE-HOW TO OPERATE - MAIN MENUHF-
  814.  
  815.  
  816.  
  817. This section will cover the various options you will see on
  818. the main menu.
  819.  
  820.  
  821.  
  822. GE1. CREATE FILEHF
  823.  
  824.  
  825. This is the option you choose to create the file on the
  826. disk.  Normally, this option is only run once as it will
  827. erase any master files with the same name.  This will
  828. probably be the first one you would choose the first time
  829. you run the program.  It will erase the file on disk if it
  830. exists and then allow you to put the diskettes into your
  831. cataloging drive one at a time and type in an ID for each
  832. one.  You should be sure to write this ID on the diskette
  833. label for future reference.  The ID field can be up to 8
  834. characters of your choice as long as there no embedded
  835. blanks.  Please note that this information is written
  836. directly to disk, nothing is left in memory when you have
  837. finished.  To complete this option, just press the GEsc Hkey.
  838. If you wish, you may pre-label your diskettes with a DOS 2.0
  839. volume label or put a file on your diskette with the diskid
  840. as the filename and GLBL Has the extension.  The Create option
  841. will look for this volume label or file and use the first 8
  842. characters of the volume label or the filename as the diskid
  843. for this diskette.  If it does not find such a volume label
  844. or file, you will be prompted for the diskid.  "HOW TO
  845. OPERATE - CREATE MENU" on page 20 contains more information
  846. on the CREATE option.
  847.  
  848.  
  849.  
  850. GE2. READ IN FILE FROM DISKETTEHF
  851.  
  852.  
  853. If you wish to process the data file on the disk, you must
  854. use this option first.  Most other options work from the
  855. in-memory copy of the file on disk.  This option checks the
  856. amount of memory you have installed and limits the size of
  857. what you can read in accordingly.  A message is displayed if
  858. the entire file cannot be read in.  After selecting this
  859. option, you will be asked to specify the search argument for
  860. reading in data.  If you press the enter key you will select
  861. all files, otherwise you may specify a subset - such as all
  862. your Basic programs.  Information on how to specify the
  863. subset will be given later.  If you have already read in a
  864. file, you will be asked if you wish this new file appended
  865. to the end of the current file in storage.  If you don't
  866. choose to have it appended, it will replace the current file
  867. in storage.
  868.  
  869.  
  870. HOW TO OPERATE - MAIN MENU                                 9
  871.  
  872.  
  873.  
  874.                 XDIR VERSION 5.4 Page     10
  875.  
  876.  
  877. GE3. WRITE FILE TO DISKHF
  878.  
  879.  
  880. The contents of the memory array is written back to the
  881. master file on the disk erasing the previous contents.  If
  882. you had wanted to preserve the old contents of the file, you
  883. could use the option to change the master file name and then
  884. use this option.  This would create a new file and write out
  885. the array to it.  You must first be sure that there is
  886. enough room on the diskette to store the new data.  You will
  887. be warned if a subset of files had been read in and you try
  888. to write them out.  This requires a second response to
  889. perform the write.
  890.  
  891.  
  892.  
  893. GE4. CHANGE MASTER FILE NAMEHF
  894.  
  895.  
  896. This will allow you to change the current filename being
  897. used by the program.  It will display all master files which
  898. you have on the default diskette, then ask you to choose one
  899. of them or a new one.  Any future reading or writing of
  900. files will be done with this filename.
  901.  
  902.  
  903.  
  904. GE5. DELETE DISKID FROM FILEHF
  905.  
  906.  
  907. This option will read in the file into memory and remove
  908. those diskids which match the diskids you specify as those
  909. to be deleted.  If files are currently residing in memory,
  910. you will be warned and given an opportunity to cancel.
  911.  
  912.  
  913.  
  914. GE6. EDIT COMMENT FIELDSHF
  915.  
  916.  
  917. As mentioned earlier there is a 28 character user
  918. specifiable comment field contained in the file.  This field
  919. is entered and edited with this option.  It is maintained by
  920. the other options and become part of your file.  It can be
  921. displayed either on your screen or the printer.  More
  922. details for the editor will be given later in this document.
  923. This option also allows for editing the DISKID field as
  924. well.
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934. HOW TO OPERATE - MAIN MENU                                10
  935.  
  936.  
  937.  
  938.                 XDIR VERSION 5.4 Page     11
  939.  
  940.  
  941. GE7. REPLACE/ADD DISKETTEHF
  942.  
  943.  
  944. This works similarly to the Delete diskette option in that
  945. it reads the file into memory.  However, after reading it in
  946. it asks you to put your replacement diskette in the
  947. cataloging drive and press Enter.  The directory information
  948. is read from the diskette.  All files which were on the old
  949. version of this diskette (as indicated by the in-memory
  950. file) -and- the new version will have the size and date
  951. updated thus saving the comments.  Any file on the old
  952. version and -not- on the new version will be discarded.  Any
  953. file on the new but not on the old will be written out to
  954. the file.  The file will be read in to memory once at the
  955. beginning of this option.  It will be written out at the end
  956. after all the Add/Replaces have been done.  An indicator of
  957. how many records will reside in the file at completion of
  958. this option is shown on the screen.  If the diskette you
  959. insert cannot be read or if you leave the drive door open,
  960. you will be warned and given an opportunity to create a
  961. dummy label and comment for the diskette.  This is a handy
  962. way to label those diskettes which cannot be read.  Please
  963. note that you should be careful and not Replace the same
  964. diskette twice as the new files will be added twice.
  965.  
  966.  
  967.  
  968. GE8. SORT OPTIONSHF
  969.  
  970.  
  971. Typing this number will cause a new menu to appear.  This
  972. new menu will be described later on in this write-up.
  973.  
  974.  
  975.  
  976. GE9. DISPLAY OPTIONSHF
  977.  
  978.  
  979. This option will also cause another menu to appear giving
  980. all the options for displaying/printing.
  981.  
  982.  
  983.  
  984. GEA. MISCELLANEOUS OPTIONSHF
  985.  
  986.  
  987. This option will select the menu which allows master files
  988. to be checked on the default drive and check/change labels
  989. on the diskettes in the cataloging drive.
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998. HOW TO OPERATE - MAIN MENU                                11
  999.  
  1000.  
  1001.  
  1002.                 XDIR VERSION 5.4 Page     12
  1003.  
  1004.  
  1005. GED. EXECUTE DOS COMMANDSHF
  1006.  
  1007.  
  1008. If you have more than 128K of memory on your PC, you may
  1009. make use of this option to execute DOS commands while
  1010. staying in XDIR.  This can be useful to do a DIR, or CHKDSK,
  1011. or any other DOS command.  You could, for example, run PE
  1012. under XDIR.
  1013.  
  1014. You will need to have COMMAND.COM on the default drive.
  1015. This COMMAND.COM will have to have a patch applied to it if
  1016. it is from DOS 2.0.  DOS 2.1 does not need this patch.  Boca
  1017. has agreed that DOS function 4B does not work with the
  1018. released 2.0 COMMAND.COM and has supplied a patch.  This
  1019. patched COMMAND.COM should be used in place of the one you
  1020. are currently using on all your disks.  The patch follows:
  1021.  
  1022. ┌──────────────────────────────────────────────────────────┐
  1023. │DEBUG command.com                                         │
  1024. │-U 404A                                                   │
  1025. │                                                          │
  1026. │The first instructions should be:                         │
  1027. │     MOV ES,BX                                            │
  1028. │     SS:                                                  │
  1029. │     LES BX,[0BB3]                                        │
  1030. │     ES:                                                  │
  1031. │     MOV [0030],ES                                        │
  1032. │     ES:                                                  │
  1033. │     MOV [002E],BX                                        │
  1034. │   To patch this enter:                                   │
  1035. │   -A 404A                                                │
  1036. │   PUSH DS                                                │
  1037. │   MOV DS,BX                                              │
  1038. │   SS:                                                    │
  1039. │   LES BX,[0BB3]                                          │
  1040. │   MOV [0030],ES                                          │
  1041. │   MOV [002E],BX                                          │
  1042. │   POP DS                                                 │
  1043. │   (press the ENTER key to terminate ASSEMBLE mode)       │
  1044. │   -W                                                     │
  1045. │   -Q                                                     │
  1046. │                                                          │
  1047. │Figure  1. DOS  2.0 patch for COMMAND.COM                 │
  1048. └──────────────────────────────────────────────────────────┘
  1049.  
  1050.  
  1051.  
  1052. GEH. PROCESS FIXED DISK FILEHF
  1053.  
  1054.  
  1055. XDIR will process your fixed disk files and create a
  1056. separate file for each fixed disk that you have.  If space
  1057. permits you may merge them into one file through use of the
  1058. "Read File" command.  The fixed disk is first processed with
  1059. the CHKDSK DOS command and the output of that is input to
  1060.  
  1061.  
  1062. HOW TO OPERATE - MAIN MENU                                12
  1063.  
  1064.  
  1065.  
  1066.                 XDIR VERSION 5.4 Page     13
  1067.  
  1068.  
  1069. XDIR.
  1070.  
  1071. The resulting listing will have the fixed disk volume name
  1072. as the diskette id and the path to the file will be put into
  1073. the comment field.  You may then sort on the comment field
  1074. to get them in order by sub-directory.
  1075.  
  1076. The procedure to do this follows.  If your storage size
  1077. permits, you may run all these commands under the DOS
  1078. command option of XDIR:
  1079.  
  1080. 1.  Execute the following command: CHKDSK d:\/v >chkdsk.fil
  1081.     where the d: is the fixed disk you wish to process.
  1082.  
  1083. 2.  This will create a file CHKDSK.FIL with the output of
  1084.     the CHKDSK command.
  1085.  
  1086. 3.  Run XDIR in the usual way selecting option H on the main
  1087.     menu.  The fixed disk will be processed.
  1088.  
  1089. 4.  Repeat this for your other fixed disk if you have one.
  1090.  
  1091.  
  1092.  
  1093. GEESCHF
  1094.  
  1095.  
  1096. Pressing this key will cause the program to terminate.  If
  1097. any editing was done without saving, the program will warn
  1098. you and give you an opportunity to cancel termination.
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126. HOW TO OPERATE - MAIN MENU                                13
  1127.  
  1128.  
  1129.  
  1130.                 XDIR VERSION 5.4 Page     14
  1131.  
  1132.  
  1133. GE-HOW TO OPERATE - SORT MENUHF-
  1134.  
  1135.  
  1136.  
  1137. When you select the Sort options from the main menu, another
  1138. menu will be displayed offering you the following options:
  1139.  
  1140.  
  1141.  
  1142. GE1. SORT BY FILENAME,SIZE,DATE,IDHF
  1143.  
  1144.  
  1145. This option sorts the in memory file in the indicated order.
  1146. A message is displayed to indicate that a sort is being
  1147. done.  With 700 records to sort,it can take 20-30 seconds,
  1148. so please be patient.
  1149.  
  1150.  
  1151.  
  1152. GE2. SORT BY FILE EXTENSION,FILE NAME,SIZE,DATE,IDHF
  1153.  
  1154.  
  1155. This option sorts the same as option 1 but the extension is
  1156. the primary field.
  1157.  
  1158.  
  1159.  
  1160. GE3. SORT BY DISKID THEN FILENAMEHF
  1161.  
  1162.  
  1163. Same as option 1 but sorted as indicated.  This sort is
  1164. quicker due to fewer fields being checked.  It can take up
  1165. to 15 seconds to sort 700 records.
  1166.  
  1167.  
  1168.  
  1169. GE4. SORT BY LAST DATE MODIFIEDHF
  1170.  
  1171.  
  1172. Same as above except for the different sort field.
  1173.  
  1174.  
  1175.  
  1176. GE5. SORT ON COMMENT FIELDHF
  1177.  
  1178.  
  1179. Sometimes it may be useful to have the data sorted by
  1180. comment field.  You may wish to use some special coding for
  1181. the first few characters of the comments so that this sort
  1182. will be more useful to you.  If comments are equal than a
  1183. secondary sort is done on filename, file extension.
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190. HOW TO OPERATE - SORT MENU                                14
  1191.  
  1192.  
  1193.  
  1194.                 XDIR VERSION 5.4 Page     15
  1195.  
  1196.  
  1197. GE6. SORT DISKETTE SPACE SUMMARYHF
  1198.  
  1199.  
  1200. This sort will put the space summary records in order by
  1201. diskid.  This is extremely quick and therefore no sorting
  1202. message is put on the screen.
  1203.  
  1204.  
  1205.  
  1206. GE9. DISPLAY OPTIONSHF
  1207.  
  1208.  
  1209. This option will take you to the Display options sub-menu.
  1210.  
  1211.  
  1212.  
  1213. GEA. MISCELLANEOUS OPTIONSHF
  1214.  
  1215.  
  1216. This goes directly to the Miscellaneous options menu.
  1217.  
  1218.  
  1219.  
  1220. GEESCHF
  1221.  
  1222.  
  1223. Pressing this key will return you to the main menu.
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254. HOW TO OPERATE - SORT MENU                                15
  1255.  
  1256.  
  1257.  
  1258.                 XDIR VERSION 5.4 Page     16
  1259.  
  1260.  
  1261. GE-HOW TO OPERATE - DISPLAY MENUHF-
  1262.  
  1263.  
  1264.  
  1265. When the Display option is selected on the main menu,
  1266. another menu will be displayed offering many choices as
  1267. described below:
  1268.  
  1269.  
  1270.  
  1271. GE1. DISPLAY RECORDSHF
  1272.  
  1273.  
  1274. The contents of the array are displayed on the screen.  The
  1275. GPgUp Hand GPgDn Hkeys will be used to scroll through the data
  1276. shown on the screen.  The GEsc Hkey is used to return to the
  1277. menu.
  1278.  
  1279.  
  1280.  
  1281. GE2. PRINT RECORDSHF
  1282.  
  1283.  
  1284. This option displays the same information as option 1 but
  1285. the information may either be printed on the IBM 80cps
  1286. printer or put into a file.  The option will prompt you for
  1287. the filename to be used for the printout.  The default is
  1288. preset to Gprn Hbut may be changed to any file desired.  This
  1289. may be useful if you are using a different file number for
  1290. your printer or wish to store this output in a file for use
  1291. by some other program.  Printer control characters are only
  1292. included if you leave the file as Gprn H, Glpt1 H, Glpt2 H, or
  1293. Glpt3 H.
  1294.  
  1295.  
  1296.  
  1297. GE3. DISPLAY DISKETTE SPACE SUMMARYHF
  1298.  
  1299.  
  1300. The information for the amount of space left on the disks
  1301. contained in the master file is displayed on the screen.
  1302. The same options exist here as exist for option 1.
  1303.  
  1304.  
  1305.  
  1306. GE4. PRINT DISKETTE SPACE SUMMARYHF
  1307.  
  1308.  
  1309. Same as above but the information is the space summary for
  1310. the diskettes.
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318. HOW TO OPERATE - DISPLAY MENU                             16
  1319.  
  1320.  
  1321.  
  1322.                 XDIR VERSION 5.4 Page     17
  1323.  
  1324.  
  1325. GE5. PRINT DISKETTE INSERTSHF
  1326.  
  1327.  
  1328. You may select this option to print inserts for your
  1329. diskette envelopes.  These will be of the correct size to
  1330. just fit in the envelope with the part sticking out having
  1331. the diskette id printed in double width style and also the
  1332. date that the master file was last updated.  Also included
  1333. on this insert is the amount of space remaining on the
  1334. diskette and all the files listed in alphabetical order
  1335. listed 5 across in condensed type.  If you have not sorted
  1336. the memory array by diskid, this option will do it for you.
  1337. You will be asked if you wish to be prompted for individual
  1338. inserts or if you wish all printed.
  1339.  
  1340.  
  1341.  
  1342. GE6. CHANGE LINES PER PAGEHF
  1343.  
  1344.  
  1345. The default is 60 lines which is shown on the display
  1346. options menu.  This will fit on the normal 8 1/2 X 11 paper
  1347. used on the IBM printer.  If you wish a different number of
  1348. lines/page, use this option.  If you set the lines/page to G0
  1349. H, then continuous printing will take place with no page
  1350. skips and header printing.  This last method can be very
  1351. useful if you are printing to a file and want to upload to a
  1352. mainframe computer and use a text processor such as SCRIPT
  1353. to do your printing.
  1354.  
  1355.  
  1356.  
  1357. GE7. PRINT DISKETTE LABELSHF
  1358.  
  1359.  
  1360. This option will print a label of size 3 1/2 inches by 15/16
  1361. inches.  Test labels will be printed first to aid in lining
  1362. up the labels, then either individual labels may be selected
  1363. or all labels may be selected.  These labels contain similar
  1364. information to the inserts - they tell the diskette ID, the
  1365. date of last modification of the master file, and the space
  1366. available on the diskette.  There is then room for 50
  1367. filenames.  No extensions are listed and no duplicate
  1368. filenames are included.  They are listed alphabetically on
  1369. the label.  The type style used is compressed sub script
  1370. which is small but quite readable.
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382. HOW TO OPERATE - DISPLAY MENU                             17
  1383.  
  1384.  
  1385.  
  1386.                 XDIR VERSION 5.4 Page     18
  1387.  
  1388.  
  1389. GE0. CHANGE LABEL SPACINGHF
  1390.  
  1391.  
  1392. This option allows you to adjust the label printing for
  1393. labels which are spaced more that 1 inch top-to-top.  It may
  1394. take some experimentation to get this number right.
  1395.  
  1396.  
  1397.  
  1398. GE8. SORT OPTIONSHF
  1399.  
  1400.  
  1401. Selecting this option will take you to the Sort options
  1402. sub-menu.
  1403.  
  1404.  
  1405.  
  1406. GEA. MISCELLANEOUS OPTIONSHF
  1407.  
  1408.  
  1409. This will take you directly to the miscellaneous options
  1410. menu.
  1411.  
  1412.  
  1413.  
  1414. GEC. WRITE CONTENTS FILEHF
  1415.  
  1416.  
  1417. This will create a file called GCONTENTS Hon the cataloging
  1418. drive which will contain the contents of the diskette as
  1419. specified in the current XDIR data file.  You will be warned
  1420. if a contents file already exists and given an opportunity
  1421. to cancel.
  1422.  
  1423.  
  1424.  
  1425. GEESCHF
  1426.  
  1427.  
  1428. Pressing this key will return you to the main menu.
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446. HOW TO OPERATE - DISPLAY MENU                             18
  1447.  
  1448.  
  1449.  
  1450.                 XDIR VERSION 5.4 Page     19
  1451.  
  1452.  
  1453. GE-HOW TO OPERATE - MISCELLANEOUS OPTIONS MENUHF-
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460. GE1. DISPLAY MASTER FILES ON DEFAULT DISKETTEHF
  1461.  
  1462.  
  1463. This option will access the default diskette drive and
  1464. display the filenames of those files whose extension is GDAT
  1465. H.
  1466.  
  1467.  
  1468.  
  1469. GE2. LABEL A DISKETTEHF
  1470.  
  1471.  
  1472. The cataloging drive is checked for a label and if one is
  1473. present, you may rename it.  If none is present it will
  1474. allow you to label it.  DOS 2.0 volume labels will be
  1475. created.
  1476.  
  1477.  
  1478.  
  1479. GE3. CHECK LABEL WITH RENAME OPTIONHF
  1480.  
  1481.  
  1482. This option will check for a label and if present allow you
  1483. to rename it.
  1484.  
  1485.  
  1486.  
  1487. GE4. CHANGE CATALOGING DRIVEHF
  1488.  
  1489.  
  1490. This option will allow you to change the drive which will be
  1491. used by the Create or Add/Replace options.  The default is
  1492. B:.
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510. HOW TO OPERATE - MISCELLANEOUS OPTIONS MENU               19
  1511.  
  1512.  
  1513.  
  1514.                 XDIR VERSION 5.4 Page     20
  1515.  
  1516.  
  1517. GE-HOW TO OPERATE - CREATE MENUHF-
  1518.  
  1519.  
  1520.  
  1521. This menu displays an audit trail of the last diskids that
  1522. were processed.  The most recent one is shown in high
  1523. intensity.  It is a circular list.  All data entry is done
  1524. on this menu.  The status of automatic labeling is shown.
  1525.  
  1526. There are 3 options on this menu.
  1527.  
  1528.  
  1529.  
  1530.  
  1531. GEF1. REDRAW SCREENHF
  1532.  
  1533.  
  1534. Will redraw the screen.  This is useful if you are using
  1535. automatic diskid labeling and you mistakenly left the
  1536. write-protect tab on.  This is explained below.  This option
  1537. will clear the screen of any error messages.  It will also
  1538. remove the audit trail of diskids already processed.
  1539.  
  1540.  
  1541.  
  1542. GEF2. TOGGLE DISKID LABELLING MODEHF
  1543.  
  1544.  
  1545. This toggles the automatic diskette labeling mode.  If this
  1546. mode is on and your current diskette has no label, one will
  1547. be written to your diskette.  This will be written as a DOS
  1548. 2.0 volume label and will not be visible as a file but will
  1549. be recognized by the DIR command, etc.  Since a directory
  1550. entry is written to your diskette, the write-protect tab
  1551. should be removed if you turn the option on.  If you forget,
  1552. DOS will present you with the usual error message to
  1553. GAbort,Retry , or Ignore the error H.  I would not suggest
  1554. Aborting as your program will terminate.  If you chose
  1555. GIgnore H, the program will continue without writing the
  1556. label.  If you remove the tab and reinsert the diskette, you
  1557. may choose the GRetry Hoption.  These error messages will
  1558. remain on the screen.  If you wish to clear up the screen
  1559. use the GF1 Hkey.  This will redraw the screen, but -remove the
  1560. --audit trail.
  1561.  
  1562.  
  1563.  
  1564. -GEESCHF
  1565.  
  1566.  
  1567. Will return you to the master menu.
  1568.  
  1569. You should note that if you leave the disk drive door open
  1570. or if the diskette is not readable by DOS, you will be
  1571. prompted to see if you wish to create a dummy label in the
  1572.  
  1573.  
  1574. HOW TO OPERATE - CREATE MENU                              20
  1575.  
  1576.  
  1577.  
  1578.                 XDIR VERSION 5.4 Page     21
  1579.  
  1580.  
  1581. file for this diskette.  This can be useful to keep track of
  1582. the copy-protected game diskettes you may have.  You don't
  1583. actually have to put the diskette into the drive.  Just
  1584. leave the door open and press the GENTER Hkey.
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638. HOW TO OPERATE - CREATE MENU                              21
  1639.  
  1640.  
  1641.  
  1642.                 XDIR VERSION 5.4 Page     22
  1643.  
  1644.  
  1645. GE-REFERENCE MATERIALHF-
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652. GESPECIFYING SUBSET WHEN READING FROM FILEHF
  1653.  
  1654.  
  1655. When you enter option 2 you will be prompted to enter the
  1656. search parameter for which data you wish read in from the
  1657. file.  If you press the enter key without typing anything,
  1658. the entire file is selected for processing.  If you enter
  1659. any parameter, only a subset of the file will be read in.
  1660. This subset may be selected in a manner similar to the
  1661. syntax for the DOS GDIR Hcommand.  For example:
  1662.  
  1663. If you enter G*.BAS Has the argument you will get only those
  1664. files which have an extension of GBAS H.  If you had entered
  1665. GABC*.* Hyou will get a subset consisting of all files
  1666. beginning with GABC Hand with any extension.  You may also
  1667. make use of the ?  wildcard allowed by DOS DIR.  If you want
  1668. all files selected which have an extension of GXYZ Hand have a
  1669. G4 Hcharacter filename beginning with GQ Hyou would enter
  1670. GQ???.XYZ Has the argument.
  1671.  
  1672.  
  1673.  
  1674. GEEXPLANATION OF EDITOR COMMANDSHF
  1675.  
  1676.  
  1677. The editor screen has been designed to give you a partial
  1678. look at how the particular entry you are editing fits in
  1679. with the others in the file.  You will see 17 files on the
  1680. screen with the input area indicated in reverse video.  This
  1681. input area is scrolled up and down on the screen.  The data
  1682. will be scrolled if the input area is at the top or bottom
  1683. of the screen.
  1684.  
  1685. In the upper right corner is an indicator which tells you
  1686. which record, by number, you are editing and how many total
  1687. there are in the file.
  1688.  
  1689. At the bottom of the screen is a list of all the commands
  1690. and keys which are valid for the editor.  These commands are
  1691. explained below:
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702. REFERENCE MATERIAL                                        22
  1703.  
  1704.  
  1705.  
  1706.                 XDIR VERSION 5.4 Page     23
  1707.  
  1708.  
  1709. GE-(up arrow)HF-
  1710.  
  1711.  
  1712.  
  1713.  
  1714. Pressing this key will move the editing field one row toward
  1715. the top of the screen.  If you try to scroll past the top of
  1716. the file you will hear a beep.  Note that the cursor stays
  1717. in the same column.
  1718.  
  1719.  
  1720.  
  1721. GE-(down arrow)HF-
  1722.  
  1723.  
  1724.  
  1725.  
  1726. Same as above but the active entry will be the next lower
  1727. one in the file.
  1728.  
  1729.  
  1730.  
  1731. GE-(right arrow)HF-
  1732.  
  1733.  
  1734.  
  1735.  
  1736. The cursor is moved one position right on the comment field.
  1737. If the cursor reaches the end of the comment field, it will
  1738. automatically recycle back to the beginning of the field.
  1739.  
  1740.  
  1741.  
  1742. GE-(left arrow)HF-
  1743.  
  1744.  
  1745.  
  1746.  
  1747. Same as above but the cursor moves to the left.  If the
  1748. cursor moves to the left out of the comment field it cycles
  1749. back to the end of the comment field.
  1750.  
  1751.  
  1752.  
  1753. GE-(TAB Key)HF-
  1754.  
  1755.  
  1756.  
  1757.  
  1758. Pressing this key moves to the next tab stop which is every
  1759. 10 spaces in the comment field.  It is ignored if you are
  1760. editing the DISKID field.
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766. REFERENCE MATERIAL                                        23
  1767.  
  1768.  
  1769.  
  1770.                 XDIR VERSION 5.4 Page     24
  1771.  
  1772.  
  1773. GE-(S-TAB)HF-
  1774.  
  1775.  
  1776.  
  1777.  
  1778. This function is accomplished by pressing the Shift key and
  1779. holding it while you press the Tab key.  This moves the
  1780. cursor back to the previous tab stop.
  1781.  
  1782.  
  1783.  
  1784. GE-PgUpHF-
  1785.  
  1786.  
  1787.  
  1788.  
  1789. When you select this command, the input area will be
  1790. scrolled toward the top of the file by 9 records.
  1791.  
  1792.  
  1793.  
  1794. GE-PgDnHF-
  1795.  
  1796.  
  1797.  
  1798.  
  1799. Similar to the above function but the display will be
  1800. scrolled toward the bottom by 9 records.
  1801.  
  1802.  
  1803.  
  1804. GE-ENTERHF-
  1805.  
  1806.  
  1807.  
  1808.  
  1809. Pressing the ENTER key will perform the same function as the
  1810. down arrow - moving the input area 1 record down toward the
  1811. end of the file.
  1812.  
  1813.  
  1814.  
  1815. GE-Alt-CHF-
  1816.  
  1817.  
  1818.  
  1819.  
  1820. Hold the GAlt Hkey while pressing the GC Hkey.  This will bring
  1821. back the old field from the file in memory.  This will only
  1822. work if you have not yet pressed any of the keys which move
  1823. the input area on the display.
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830. REFERENCE MATERIAL                                        24
  1831.  
  1832.  
  1833.  
  1834.                 XDIR VERSION 5.4 Page     25
  1835.  
  1836.  
  1837. GE-EscHF-
  1838.  
  1839.  
  1840.  
  1841.  
  1842. Pressing this key will return you to the main menu.  Any
  1843. data entered in the editor is retained in the in-storage
  1844. array.
  1845.  
  1846.  
  1847.  
  1848. GE-C-PgUpHF-
  1849.  
  1850.  
  1851.  
  1852.  
  1853. Hold the GCtrl Hkey while pressing the GPgUp Hkey.  This moves
  1854. the input area to the top of the file.
  1855.  
  1856.  
  1857.  
  1858. GE-C-PgDnHF-
  1859.  
  1860.  
  1861.  
  1862.  
  1863. The input area is moved to the end of the file.
  1864.  
  1865.  
  1866.  
  1867. GE-BKSPCHF-
  1868.  
  1869.  
  1870.  
  1871.  
  1872. This is the key to the left of the Num Lock key and is
  1873. labeled with a left pointing arrow.  This works by deleting
  1874. the character to the left of the cursor and shifting
  1875. everything to the left 1.
  1876.  
  1877.  
  1878.  
  1879. GE-DelHF-
  1880.  
  1881.  
  1882.  
  1883.  
  1884. The character at the cursor position is deleted.
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894. REFERENCE MATERIAL                                        25
  1895.  
  1896.  
  1897.  
  1898.                 XDIR VERSION 5.4 Page     26
  1899.  
  1900.  
  1901. GE-InsHF-
  1902.  
  1903.  
  1904.  
  1905.  
  1906. Pressing the Insert key will put the editor in insert mode.
  1907. The GIns Hat the bottom of the screen will blink indicating
  1908. that Insert mode is active.  Characters will be inserted at
  1909. the cursor location and other characters will be shifted to
  1910. the right.  If there is no more room for inserting, the
  1911. speaker will beep.
  1912.  
  1913.  
  1914.  
  1915. GE-Alt-SHF-
  1916.  
  1917.  
  1918.  
  1919.  
  1920. Hold the GAlt Hkey and press the GS Hkey and the in-storage file
  1921. will be written back to diskette.
  1922.  
  1923.  
  1924.  
  1925. GE-HomeHF-
  1926.  
  1927.  
  1928.  
  1929.  
  1930. This key will move the cursor back to the beginning of the
  1931. field.
  1932.  
  1933.  
  1934.  
  1935. GE-EndHF-
  1936.  
  1937.  
  1938.  
  1939.  
  1940. This key will position the cursor one character past the end
  1941. of the current length of the field.
  1942.  
  1943.  
  1944.  
  1945. GE-Alt-THF-
  1946.  
  1947.  
  1948.  
  1949.  
  1950. This key will toggle you into the DISKID field for editing.
  1951. Any changes will automatically be folded to uppercase.  They
  1952. won't appear that way on the screen at first, but when the
  1953. screen is refreshed by scrolling you will see them.  If you
  1954. have lower case diskids from an earlier version of XDIR,
  1955. just moving the cursor over the field will fold them to
  1956.  
  1957.  
  1958. REFERENCE MATERIAL                                        26
  1959.  
  1960.  
  1961.  
  1962.                 XDIR VERSION 5.4 Page     27
  1963.  
  1964.  
  1965. uppercase.
  1966.  
  1967.  
  1968.  
  1969. GE-Alt-XHF-
  1970.  
  1971.  
  1972.  
  1973.  
  1974. This will allow you to cause a particular record to be
  1975. deleted upon writing out the file the next time.  Put the
  1976. cursor on the line that you wish to delete, then press this
  1977. key and the diskid will be changed to *DELETE* signifying
  1978. that it will be deleted the next time the file is written.
  1979. If you change your mind before writing out the file, just
  1980. press the key again and the delete will be cancelled.  You
  1981. may delete as many files as you wish in this manner.
  1982.  
  1983.  
  1984.  
  1985. GEUSING PC-FILE WITH XDIR DATA FILESHF
  1986.  
  1987.  
  1988. It is relatively easy to take an XDIR data file and make it
  1989. acceptable to PC-FILE.  You could then use all the extensive
  1990. facilities of that database program to access your data.
  1991. You might want to print out some special format for a
  1992. report.
  1993.  
  1994. In the write-up below I will be using "fname" as a place
  1995. holder for your XDIR filename, please substitute your
  1996. appropriate name
  1997.  
  1998. Steps to follow to get an XDIR fname.dat file into PC-FILE:
  1999.  
  2000. 1.  Execute PC-FILE and define a new file called fname with
  2001.     the following format:
  2002.  
  2003.     filename  8 characters
  2004.     ext       3 characters
  2005.     id        8 characters
  2006.     date      6 characters
  2007.     size      7 characters
  2008.     comment  28 characters
  2009.     x         1 character
  2010.  
  2011. 2.  Exit PC-FILE and do the following DOS command - copy
  2012.     fname.dat fname.dta
  2013.  
  2014. 3.  Run the BASIC program as shown in Figure  2  on page 28.
  2015.     When the filename is requested, enter "fname.dta".  This
  2016.     will add the special characters to the end of the file
  2017.     to keep PC-FILE happy.
  2018.  
  2019. 4.  Execute PC-FILE again and select the SORT option and
  2020.  
  2021.  
  2022. REFERENCE MATERIAL                                        27
  2023.  
  2024.  
  2025.  
  2026.                 XDIR VERSION 5.4 Page     28
  2027.  
  2028.  
  2029.     sort by any field you choose.  This will create the
  2030.     index needed by PC-FILE.
  2031.  
  2032. 5.  You are now on your own in PC-FILE.  The full power of
  2033.     PC-FILE is now at your command.
  2034.  
  2035. ┌──────────────────────────────────────────────────────────┐
  2036. │10 INPUT "Enter the filespec:",F$                         │
  2037. │20 OPEN F$ FOR APPEND AS #1                               │
  2038. │30 PRINT#1,STRING$(61,"\")                                │
  2039. │40 CLOSE                                                  │
  2040. │                                                          │
  2041. │Figure  2. BASIC  program to prepare XDIR dat file for    │
  2042. │PC-FILE                                                   │
  2043. └──────────────────────────────────────────────────────────┘
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086. REFERENCE MATERIAL                                        28
  2087. A CB
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105. REFERENCE MATERIAL                                        28
  2106. A CB @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@